net/http.persistConn.maxHeaderResponseSize (method)

5 uses

	net/http (current package)
		transport.go#L1940: func (pc *persistConn) maxHeaderResponseSize() int64 {
		transport.go#L1949: 		return 0, fmt.Errorf("read limit of %d bytes exhausted", pc.maxHeaderResponseSize())
		transport.go#L2117: 		pc.readLimit = pc.maxHeaderResponseSize()
		transport.go#L2141: 				err = fmt.Errorf("net/http: server response headers exceeded %d bytes; aborted", pc.maxHeaderResponseSize())
		transport.go#L2336: 			pc.readLimit = pc.maxHeaderResponseSize() // reset the limit